package com.hnevc.zz.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.hnevc.zz.R;
import com.hnevc.zz.activity.RechargeActivity;


public class Fragment2 extends Fragment {
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        Intent intent=new Intent(getActivity().getApplicationContext(), RechargeActivity.class);
        startActivity(intent);
        return LayoutInflater.from(getActivity()).inflate(R.layout.fragment2, container, false);
    }


}
